package com.cf.data.serve.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cf.data.serve.entity.SbTjsb;
import com.cf.data.serve.entity.TjGzxh;
import org.apache.ibatis.annotations.Update;

import java.util.Map;

/**
 * 环境检测
 * */
public interface SbTjsbMapper extends BaseMapper<SbTjsb> {

    @Update("update t_worker_dept set sfzc = #{sfzc} ,jcrq = #{date} where workerId = #{workerId}")
    void updateWorkerJcForId(Map<String,Object> map);

    @Update("update t_worker_dept set sfzc = #{sfzc} ,lcrq = #{date} where workerId = #{workerId}")
    void updateWorkerCcForId(Map<String,Object> map);
}
